package top.yokey.learn2.acyivity;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.fragment.app.Fragment;

import top.yokey.learn2.R;

public class AddFragment extends Fragment {

    private AppCompatTextView mainTextView;

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_add, container, false);
        mainTextView = view.findViewById(R.id.mainTextView);
        mainTextView.setText("Shop");
        return view;
    }

}
